package src.main.java.mapper;

import org.apache.ibatis.annotations.Mapper;
import vo.common.entity.product.Category;
import vo.common.vo.product.CategoryExcelVo;

import java.util.List;


@Mapper
public interface CategoryMapper {

    List<Category> selectByParentId(Long parentId);

    int countByParentId(Long id);

    List<Category> selectAll();

    void batchInsert(List<CategoryExcelVo> categoryList);

}
